package com.yzh.croom.mapper;

import com.yzh.croom.model.domain.CourseTime;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CourseTimeMapper {

    @Select("select * from tb_time")
    public List<CourseTime> getAllCourseTime();

    @Select("select * from tb_time where time_id = #{timeId}")
    public CourseTime getCourseTimeById(int timeId);
}
